/* resource "huaweicloud_kms_key" "kms" {
  key_alias = "kms-superhub-dev"
} */

resource "huaweicloud_kps_keypair" "keypair" {
  name  = "keypair-superhub-dev"
  scope = "account"
  /* encryption_type = "kms" */
  /* kms_key_name    = huaweicloud_kms_key.kms.key_alias */
  key_file = "private_key-myapp-dev.pem"
  region   = var.REGION
}